* {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: fixed;
  top: 0;
  left: 0;
}

.list {
  height: 100%;
  -webkit-transition: all 1s ease-in-out;
  -o-transition: all 1s ease-in-out;
  -moz-transition: all 1s ease-in-out;
  transition: all 1s ease-in-out;
  -webkit-transform: translateX(0);
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -o-transform: translateX(0);
  transform: translateX(0);
}

.item {
  float: left;
  height: 100%;
  background: #6b76ff;
}

.item:nth-child(5n+1) {
  background: #6b76ff;
}

.item:nth-child(5n+2) {
  background: #a5aeff;
}

.item:nth-child(5n+3) {
  background: #c8e4fe;
}

.item:nth-child(5n+4) {
  background: #feffe0;
}

.item:nth-child(5n) {
  background: #fbeed7;
}

.prev-btn {
  position: fixed;
  left: 0;
  top: 50%;
  color: #ffffff;
}

.next-btn {
  position: fixed;
  right: 0;
  top: 50%;
  color: #ffffff;
}
